extends Node

#导航点
var add_nav_spot = PackedVector2Array()
var add_to_no_nav_spot = PackedVector2Array()
var workers_selected = false
var building_selected = false

var food_count = 1000
var gold_count = 1000
var wood_count = 1000
var population_count = 0
var max_population_count = 20

var new_worker_target = null
var new_worker_target_type = null
var new_worker_target_job = null
var new_worker_target_id = null

var enemy_units = 0
var good_units = 0

func _ready() -> void:
	#add_to_no_nav_spot.append(Vector2(5,5))
	pass



#重置
func reste_all_var() -> void:
	add_nav_spot = PackedVector2Array()
	add_to_no_nav_spot = PackedVector2Array()
	workers_selected = false
	building_selected = false
	food_count = 0
	gold_count = 0
	wood_count = 0
	population_count = 0
	max_population_count = 0
	new_worker_target_type = null
	new_worker_target_job = null
	new_worker_target_id = null
	enemy_units = 0
	good_units = 0
